<template>
    <!-- mine/pages/messagenotification/messagenotification.wxml -->
    <view :style="objColor" class="containers">
        <view class="containers-in" >
            <view style="height: auto">
                <view class="containers-title">个性化服务</view>
                <!-- <view class="containers-sm"></view> -->
            </view>
            <view style="height: auto">
                <u-switch v-model="checked"  asyncChange @change="onChange" :size="30" class="kaiguan" />
				 </view>
        </view>   

    </view>
</template>

<script>
'use strict';
// import vanSwitch from '@vant/weapp/switch/index';

// exports.__esModule = true; // mine/pages/messagenotification/messagenotification.ts

export default {
    components: {
        // vanSwitch
    },
    data() {
        return {
            checked: false,
        };
    },
    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function () {},
    onShow: function () {
    },
    methods: {
        onChange: function (_a) {
            var detail = _a; // 需要手动对 checked 状态进行更新
            this.checked= detail  
           
        }

    }
};
</script>
<style lang="less">
@import url('./individualization.less');
</style>
